import java.util.List;

public class Test {
    public static void main(String[] args) {
        String[] strs = {"eat", "tea", "tan", "ate", "nat", "bat"};
        Solution2 solution2 = new Solution2();
        List<List<String>> list = solution2.groupAnagrams(strs);
        System.out.println();
    }
}
